package cn.silver.module.message.domain;

import cn.silver.framework.mybatis.annotation.Table;
import cn.silver.framework.tenant.domain.TenantEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;

/**
 * @author zhouxiaobo
 */
@Data
@NoArgsConstructor
@Table(name = "msg_template")
@EqualsAndHashCode(callSuper = true)
@Schema(name = "MsgTemplate", title = "系统消息模板")
public class MsgTemplate extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;
    /** 模板编码 */
    @Schema(title = "模板编码")
    private String code ;
    /** 模板名称 */
    @Schema(title = "模板名称")
    private String name ;
    /** 发送渠道 */
    @Schema(title = "发送渠道")
    private String channel ;
    /** 模板标题 */
    @Schema(title = "模板标题")
    private String subject ;
    /** 模板内容 */
    @Schema(title = "模板内容")
    private String content ;
}
